Make the diffFromTargets method private