API updates for iPhone app.