Changed constant ViewNames to uppercase to conform with conventions.