Add location type. Refactoring.