Early draft of some parts of a future Cookbook chapter.