Optimizations in EggShell.