Updated documentation with data structure definitions.