Enable cache flush.
Minor optimizations.