added Session, ErrorHandler, ShutdownHandler