Adding swap prototype and free proxy