Fix loading of domains.