I suggest we return both the buffered one and the return value. It will be more expected in case you insert some echos in your widget code for debugging purpose.