Added call to Flush.