Delete dead codes.