Removed flushCache call