Functional library for working with Deferred objects