Slight optimizations.