Add class Location.