hasOneChild syntax change