mod/reader make utilities compatible with Moodle 2.6