Added cache clearing.