Adding support for explicit subclasses.