Dodane refreshHooks
Poprawa testu
Merge branch 'feature-refresh-hooks' into 2.4