Use OCP\ITags in lib/controller/importcontroller.php.