Added support for moodle blocks and mods