use new session class name or fall back to old

Fixes #31