Pass connection to EnvironmentContext.configure