Added custom hook support
Merge branch 'release-v0.5' of github.com:plainmade/nilai into release-v0.5