Small optimizations.