Totara contributions to Moodle upstream