Added autoFlush.