simplify pseudo-session api