Include check for nil-session

Don't take `session` to be defined as a requirement.