dwarf: api changes