Removing dead code segment.