Missing setType for Moodle form in various places [M2.5] #8025