Classes and their nested enums and structures are now declared before any file is included, which will allow for as complete a circular-dependency resolution as is possible with C++.