Remove unused code
fix warning
Handle types a little better
Fix X popcount implementation
Generate unions correctly
Support qualified names in types