Switching from abstract memoryFlushLevels to a more defined flags setup. Also changing the default memoryFlush to flush both caches and pre-compiled statements.