banished the getClass and getBaseClass functions