expose open and close methods