Now compatible with moodle 2.5.X