Add _setOption, small improvements.