if (selector.selector !== undefined) {
            this.selector = selector.selector;
            this.context = selector.context;
        }