I should have done this from the beginning, keep a reference of the TYPE in the superclass