resourcify on class covers subclasses.