Removes unused code