Made the URIResolver (REST Service) dependency optional.