Removed imports and other warnings.