Added in the open/close methods