Added delete() and deleteMetric() methods to the client.