Joseph Stalin, The Foundations of Leninism