Attaching to fixed space in version 0.2.4

Trying to joint a body to the fixed frame, no collisions required. Following previous message, I’ve a little workaround, but not sure if it is valid to set the body id.

Is this permissible as a workaround until the next version of the API?

    fixedBody = new Body(SimWorld.world);
    SWIGTYPE_p_dBodyID jack = Ode.getBODYID_ZERO();
    fixedBody.setId(jack);

Cheers,
Jack