Fixed provider resolution with arguments.