Make small refactoring in time container.