added the ability to inherit entities from a parent entity