Add a global with() method.