Delete dead codes.
Slight optimization.