Implement `remove` method