Removes unused code fragments