Fix Session Class for AFM