Update doc type error messages