Move reset functions out of the get questions function.