Add permacache support.