Working on Session API.