Added password generating features to class