Factor out fetching and hashing as middleware.

Always use middleware in wire. Disable delta calculation.