open() and close() now work.