Removes non-DateTime metric APIs from State.
Changes MetricInterval to use DateTime.