Sessions.coffee typing fixes