Remove all URI handling code and unused imports--no longer needed.