[WIP] Validate hooks existence

You got a point.

I think there's some mismatch between reading specs source and the generated messages and I never developed a style that pleases me completely.