Add a way to pass a custom parser implementation to Planner.