Add subentities, and a bunch of logic around them.