Implemented the overload by return value.