'waitFor' macro and 'ResultContainer' class have been added.