Restructure domains