Remove distribute refs