Refactor redundant Coordinate class to the new ILocation.