Rename flush_ to flushPending