add Model.resolveChild function