Delete some unused code