add a method 'subclasses_of'