Some micro-optimizations.