Tidied up documentation to meet godoc standards