Cleaning up timetag and clock functions.