Rename _flush to flush