Better interface of edit datasets. issue #328