Make session funcs public.