Add support for time_max.