Add getAndRemoveProxies method