Fix transpilation callbacks return value processing