Added more docs, updated gen.