Removed unused imports and language extensions.