Refactored credentials.