Fixed some 'const' compiler warnings.