Review 28501

C. Thomas Tyler
Added hooks to support custom pre- and post-processing.
Tip: Use n and p to cycle through the changes.