Demonstrate api in Main.hs more fully.