Added location util.
Removed unused imports.