Update session.d

Removed const-ness