Assign example group constant earlier.
Created by: myronmarston
This ensures it is set as soon as possible, before shared contexts included via metadata are evaluated, so that if there’s an error, the example group class name will be included in it.