Simplify env ctor.