add location features in all relevant classes