Add setter to bodies_ array in MultiBody.