Allow to remove values with pointer