Move proxy options outside template