Many thanks to @Ironchest337 for discovering this method and providing a well-documented implementation.