Taking One for the Team: the Refactoring of Failure