generate hooks for each action
embed err1st
only apply hooks on action emit by router
Merge branch 'magnum'
0.3.0