Issue #3396028 by Grevil, Anybody: Let the main module provide an alter hook, instead of a normal one
Closes #3113922