Added removeSession helper.