boolean->bool, double->float, short->int, fix class constant defs