More middleware changes.