Added time Period class.