Renamed __generatePassword method to __generatePasswords as it makes more sense.