Fixes errors in refactoring viewing and creating experiment.