Pushed around hook execution for testability