Improve handling of XML options Mark boolean options as such Warn on invalid types Stubs info Closes GH-10675