Fixed issue with enum members not appearing in documentation if they were the last member
Doc comments
Refactoring, doc improvements, and addition of attributes to aggregate declarations