Some generic utilities for CoreLocation