Init hooks.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>