Further work on Moodle 1.9 integration.