code: function(name, collection) {
  			if (!elementTypes[collection])
  				elementTypes[collection] = [];
  			
  			var col = this.getCollection(collection);
  			if (!~col.indexOf(name)) {
  				col.push(name);
  			}
  		}
docs: Adds new element into collection
  @param {String} name Element name
  @param {String} collection Collection name