providing a malleable device, the device including a biocompatible sheath and a curable material sealed within the sheath, the device having a non-rigid form and being transformable to a rigid form after application of a quantity of an initiating energy to the material effective to cure the material; applying a dose of the initiating energy to the material; and after said applying, inserting the d