[WIP] Validate hooks existence

In this case it probably will be better.