docs: function stub_getter(name) {
    getter(Asset.prototype, name, function () {
      // this should never happen, as Asset is an abstract class and not
      // supposed to be used directly. subclasses must override this getters
      throw new Error(this.constructor.name + '#' + name + ' getter is not implemented.');
    });
  }