Fix dispatch of 'super' in class methods