Parameter assignment refactor

Changed URL to use URI before calling equals() and hashCode() so the call doesn't potentially block or have a performance hit.