Clean up notebook.