Added erase functions