Remove toValue method from Locations class