type.create = function(name, fn, ctx) {

  _checkCreateName(name);

  all[name] = {fn: fn, ctx: ctx};