fix linewrapping; handle uses of parent classes