Remove global hostUri. Make requestGenerator more clearly