Minor thinko fixes on strings vs type names and class vs def

Signed-off-by: Peter Jones <pjones@redhat.com>