That's how abf does it, so we should copy that.