Minor cleanup
Adding the parameter to sendMetric as well.