code: function Type(database, type, opt) {
  	var i;
  	opt = opt || {};
  	
  	if(typeof type !== 'string') throw Error('ERR_BAD_TYPE_NAME');
  	for(i in opt.indexes) if(i.indexOf(database.hdrs) != -1) throw Error('ERR_BAD_INDEX_NAME');
  
  	this.indexes = opt.indexes || {};
  	this.links = {};
  	
  	this.db = database;
  	this.type = type;
  }
docs: /*
  Restrictions:
  
  The *names* of object types, indexes and links must not contain
  the colon character (:). Index values that are strings must not
  contain the null character (\0).
  
  Index functions must be synchronous, i.e. all calls to emit must
  happen before the function returns. They should also be consistent,
  i.e. multiple calls with the same object should emit the same values.