Fixed use of const in return values to resolve warnings from Intel compiler.