Reduced the number of errors in doc building by an oder of magnitude.