@jeffwatkins Pretty sure Versions just requires autosavesInPlace. Then you can get most of the basic functionality just by hooking up menu items to the relevant NSDocument selectors and relying on the responder chain.
(my add() function in the example is just a convenience for building menu items.)