Refactors experiment and respondent.