Remove PLUGIN_xxx defines, fix method name typo create_empty_course_object()