Get methods of a class