- Removed unused types and globals.