Move xml config to standard interfaces
Add some validation for fluent config.