Removes unnecessary instance vars.

these actions doesn't render templates, only JSON so local vars are enough