Add mock location support.