code: function register() {
      ko.extenders['searchArray'] = searchArrayExtension;
      ko.components.register('grid', {
          template: template,
          viewModel: viewModel
      });
  }
docs: Register the extensions