setFilterMethod: function (method) {
        if (method !== 0) {
            throw new Error('Unsupported filter method with identifier ' +  method + '.');
        }
        this._filterMethod = method;