Add usegateway stuff.