Add diff as a dependency