add specs and respective scope methods on location to hive class