Make env object configurable.