Added preflight OPTIONS endpoints to the Template View;