Slight API change for credentials.