Added missing default import of time.