Promotes time code to own class