Use imported classes instead of internal ones.