Minor changes to type class example.