Merge pull request #245 from youtube/replication

Using wrangler.ctx in a lot more places.