Clearing dead code