Further work on Moodle integration.