Adding URIResolver code