Making un/pw more generic.