removed expand and collapse methods. Fixes #95