Added support for classes with different times on different days.