generator: Cut off redundant class names

Tag.TagExists() will now be Tag.Exists()