dclass: Various bugfixes.