Added 'open' and 'close' to the interface.