Support session_data via context managers.