Progress on hooks

Also:
- Utils.hasOwnProperty, Utils.linkify
- Some bugfixes