Support retrieving resources by their uri.