More mangling of reference docs