Remove unused, mispelt and misleading code.