Move constants and util functions outside DisputeDocument