erase, lookup, lookupRange implemented. Still not tested.