Removed useless const qualifications for integer return types.