generator: function rename; type mapping refinement; class info