Refactors out new label on new semantic structures.
Import cleanup
Use new-style classes in new_structures.
Adds support for new command structure in spec generation.
Retiring deprecated code.