Add default typemap for 'bool' type.
Allow nested names in class definitions.