Added, but have not tested, removeState method in SessionPlugin