Separate the new /doc method out into its own source file.