diff --git a/docs/docs.php b/docs/docs.php
index 5c9cbf8..50f0160 100644
--- a/docs/docs.php
+++ b/docs/docs.php
@@ -548,8 +548,7 @@ function hook_views_default_views() {
  */
 function hook_views_default_views_alter(&$views) {
   if (isset($views['taxonomy_term'])) {
-    $views['taxonomy_term']->set_display('default');
-    $views['taxonomy_term']->display_handler->set_option('title', 'Categories');
+    $views['taxonomy_term']->display['default']->display_options['title'] = 'Categories';
   }
 }
 
