smacker: remove some unused code