Add hook_out field to silence error messages (fixes #29)