Add initial support for sessions