Removes redundant code in domain access install.