Patch bug in StaticClasses.ViewMixin that throws if does not expose the __type() method