Fix calls to missing function, generatePassword.