added location model mixin.