Add proxies. Add index argument to filter function.