Added custom session initializer