Scala's Cake Pattern example