Former prime minister David Cameron once described himself as a "modern, compassionate Conservative".