Add work and die helper for examples.
Add perform and push hook examples.