Fixed the migration
Removed deprecated methods the plan course view