Added output policy member and flush method.