Updated the auto-generated enum headers

- Removed the unused 'availability query' from the sources.
- Updated the generating scripts.