Add action hooks.
Merge pull request #1 from smerrill/master

Add action hooks.