Removes unrelated code