Added struct defintions to documentation. Improved Python documentation.