Adding Essentials class with isValidPVID and hashOf methods