Change params and headers and cookies fields to protected access.