Make relationships like query and children.