Implemented table cache flushing.