Implemented resolve as type.