Codegen fixes for c macro values. Parsing fix for methods, which was totally broken.