Adds OptionsManager and tests.