Removing unnecessary dead code.