Massive update: Delayed execution added, with tests and documentation.