A pair of utility methods for forcing a function or an object's methods to wait for a deferred object to resolve before running (and then undoing this effect if required).