Added `remove_first` function