Support deprecated and new Google API. Refs #292. Refs #285