Some Optimizations.