Fix @genty decorating subclasses and base classes

This seems like a duplicate of line 181. Is it needed?