Simplified FFI and CPP handling.