Refactor single run into decorator.