Using the proper clear() method for MixedCollection instead of removeAll()