add cache methods to Session