Hooks

I pasted that into the original document for no good reason - we can get rid of it FWIW. Or turn it into a more instructive end-to-end example of using a hook. Right now, it doesn't serve any real purpose.