Adapt to OCaml trunk (extensible types + floating attributes in classes).