invalidate constant names in superclasses of the module too
move call to invalidate
key cache in getclassconstant on the class too