Simplify construction of Environment.