Add diff parsing