Add domain_realm section support
Fix minor formatting issues