Clean unused code