Pulled function creation into convient methods for constructing planners.