Fix: Snakes compatibility with Moodle 1.6