function register(name, item) {
    subCollection.set(name, item);
  }
Register an item to the collection. If the item under the same was exist earlier then this item will be replaced with new one.

@param {String} name Identification of the item.
@param {*} item Item to save in the collection.