Update to bone parser code, needs to be tested.