Classes, and Template Haskell code to generate instances, for the Scrap Your Boilerplate With Class system.