Add getChild method for Parent Type.