Use clear in DataLayer.erase