Working in the class hierarchy