Reverting to the work immutable CompositeException but add the option to override for an environment.