Clean-up code

* Removes unused open statements.