Add checksum() method to session