Now plugin is document-based, not view-based.