Adds time functions.