Unified resolve and multiResolve for references.
Removed useless method.