Add support for the PostStart event handler.

done, although I'm not sure it's really all that cleaner or easier to test.