Exercisepage refactor.