Update code&test for Hook serialization
Merge branch 'add-hooks'