Implemented getAll and removeAll directly in Dictionary class.