Rename transactions to hook, since that's what they are.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>