Metric creation helpers. measureTime fix snuck in as well.