Fixed some document issues