I'm no expert but it seems to me that Karl Marx and his "Proletarians of all countries, unite!" didn't have in mind the middle-classes or Germany alone... Had it been the case, surely the USSR wouldn't have stolen the motto.