In the process of transitioning the planning code to a consolidated (and partially type-erased) framework.