Added class to handle templated uris.