Adds Dog class example.