code: function(controller, callback) {
  
              // Add the given name to the controller
              controller.name = name;
              controller.module = module;
  
              // Set default value on the controller instance
              controller.basePath = self.getBasePath(
                  controller, path, module
              );
  
              // Add the canonical path
              controller.canonicalPath = self.getCanonicalPath(
                  path, name, module
              );
  
              callback(null, controller);
          }
docs: Run any options generation