Change class method name to generate_password to keep naming conversations within existing classes.