What about using `CapsuleContent.with_environment(env)`