Be robust if one does not use viewer() or editor.