I am also still concerned about iterating through inheritance.INHERITABLE_METADATA. I'm not sure if that is what your comment refers to.