Makes main scheme shared.