Adding indifferent access for passed in document hash