Refactoring credentials.