Updates for optimizations.