More adoption of NSDocument-like init.