Added remove entries functionality.