Remove unused imports, and set highest API level.