Moved the two new methods to GoogleCredentials class.