Support Moodle 2.7