New open/close methods and removed "expand all".

Closes #4.