added required dependencies and added removeAll method.