Added RemoveAllObjects method