Don't mangle xclass names containing '-' or ' '.