Add and fix javadoc for ConfigOptions