Remove unused and dead code.