This is not done automatically, you'll need to do it yourself. Make sure to add docs too. Please also remember to update src/test/resources/configs/all.xml with your new elements or attributes. A test validates this file against the schema.