I can move this._container to the constructor but will still need to use this._options.container to check if a container was supplied as an option, in which case I don't want to add/remove the container.

I could set this._options.container to a member var and reference that instead?