Add a utils method to get the superclass