Added support for bytes in sessions back