Added cache dir methods