Document Password::validator function.