Remove useless assignment.
Add ability to build event hooks.
Change machine hook event notification to use build. Add docs.