Add a global with() method.
Merge pull request #216 from elkuku/with

Add a global with() method. Thanks @elkuku for the work and @taylorotwell for the concept.