Added addition roots method to allow closure to configure them so that env can be used.