Can we rename env to environment here? Yes, this breaks backwards compatibility, but:
- We are still in beta ;)
- we have setEnvironmentName, but env here. This is inconsistent.