Applications using the container cube annotate their entity classes with data that is used at registration time in hooks (amongst other).

However the appobjets directories are processed in "set order" and whenever hooks are processed before entities, the code burns.

The real fix would be to have proper annotations on Yams schemas; that would alleviate the need to annotate on entity classes and introduce an unwanted dependency between appobjects at registration time.