Remove unneeded require of pathname in dynamic analysis helper
Extract example group context detection logic to ContextSensitive mixin