Export hook names no matter what kind of expression they are

Fixes #44