Event hooks for PUT. Fixes #110.