Added support for node-style async functions and plain sequential execution.