us5977 generically clear collections so new entities such as classPeriod are also cleared