Fix order of domain parameters.