Added method `remove`.
Added tests for `remove` method.