Optimizations to styling and XML loading.