Convert track_time to use S4 classes.