Client::expandTemplate() and Client::getUriTemplate() are protected