[fix-notices-environment] Ensure that the environment for notices is parsed correctly.
Merge branch 'fix-notices-environment'