cleanSession made public