function Service(name, options) {
    Namespace.call(this, name, options);

    /**
     * Service methods.
     * @type {Object.<string,Method>}
     */
    this.methods = {}; // toJSON, marker

    /**
     * Cached methods as an array.
     * @type {?Method[]}
     * @private
     */
    this._methodsArray = null;
}
Constructs a new service instance.
@classdesc Reflected service.
@extends NamespaceBase
@constructor
@param {string} name Service name
@param {Object.<string,*>} [options] Service options
@throws {TypeError} If arguments are invalid