Moved the checks to see if a type is manually defined into a central define. Also made re-enabled declaration generation, and made it so manually defined types are no longer included as header dependencies, nor are their headers generated in the first place. I also deleted the headers for the 3 manually defined types and commented out the includes requiring them to make it so that the SDK compiles.