Remove deprecated import middleware