Added const qualifer to a number of accessor functions