Close #13 Add .hook class to hook grammars