docs: 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;
  }