Adds Time class.