SetOnce attributes on superclasses were not being found