Added const qualifiers to appropriate methods