Needed to freeze time in unit tests.