Fix style; add function and struct field descriptions