clean simbody structures and related deprecated code