This should be a method on client.