Updates documentation to follow godoc conventions