Rewires the DomainAccessCheck to be properly modular.