Helper functions for working with Google's APIs.