bb6578 - Fixes TODO in session.c on converting to ENUM