Fixed: Warning about ineffective use of "const" in return value