Move environment settings into base.