Added missing include for time functions.