Use some optimizations.