Pre-litigation and litigation resolution of disputes