Calling output_notebook function directly from the extension instead of passing a cell containing the call.