Payload add accepts func() for hashes.