Add cache clearing behavior.