Implemented name resolution.