anchor.diff: -(function(app, ko) {
  +(function(app, kea, ko) {
     "use strict";
   
     var model_name  = "<%= name.camelize %>",
  
positive.code:     destroy: destroy
    };
  
  })(window.app, ko);
negative.code:   };
    
    collectionPath = function collectionPath() {
      return app.paths.<%= name.underscore %>;
    };
  
    getCollection = function getCollection(params) {
      return kea.services.Base.get(model_name, collectionPath(), params);
    };
    
    get = function get(id, params, try_cache) {
      return kea.services.Base.get(model_name, resourcePath(id), params, try_cache);
    };
    
    refresh = function refresh(model_instance, params) {
      return kea.services.Base.refresh(model_name, model_instance, params, resourcePath(model_instance.id));
    };
    
    create = function create(model_instance) {
      return kea.services.Base.create(model_name, model_instance, collectionPath())
                .fail(kea.services.Base.failure422Handler);
    };
    
    update = function update(model_instance, params) {
      return kea.services.Base.update(model_name, model_instance, params, resourcePath(model_instance.id))
              .fail(kea.services.Base.failure422Handler);
    };
    
    destroy = function destroy(model_instance) {
      return kea.services.Base.destroy(model_name, model_instance, resourcePath(model_instance.id))
              .fail(kea.services.Base.failure422Handler);
    };
  
    app.services[model_name] = {
  