Added remove_objects method