Seems odd to be doing a flush here, when there isn't any other STDOUT things directly happening in this method.