Removed unused imports, and made TYPE_ID accessible for groups