Cleans up removal of OpenSession stuff.