How to remove geometry states from an object - deprecated