[SPARK-3305] Remove unused import from UI classes.