Update session messenger to allow addition of extra classes