Fix some warnings about document format.