Updated API to reflect LocationRequest changes.