README.markdown: API: static methods: .hook: fix undefined variable error