Fixed the hook option in the examples.