Adapting to new Google API changes.