Added erase function for bencode values.