Add methods for google api.