add support for EntitySpec.child and .children