The correct way to set up chains.