Added open and close methods.