Renaming flush to reset to avoid namespace collission