Dickens's novels were, among other things, works of social commentary.
After The Moonstone, Collins's novels contained fewer thriller elements and more social commentary.