change method name resolve to get
register definition support only string