Optimizations, other stuff.