Removed some dead code.