Delete unused code