Updated to use Hooks 0.3.0, thanks @apotonick!