Added collection clearing