Adds close and open to interface.