Fix some document issues