Stabilising Capital Flows to Developing Countries