Move hooks to class

Closes #3553757

Merge request reports

Loading