Remove some reference to ETS_WORLD.
Remove unused code.