Removes unused/unnecessary code