replaced getOptionNames with getOptions, added support for underscored _onOptionsChanged