Fix declare-datatypes dumping bug (bug 385).
Better S-Expr printing, for e.g. :all-options and :all-statistics.