Removed all the magic numbers for units of time.