Switched to new api for creating request objects.