Adds basic close method
Adds isOpen method