Added OPTIONS preflight endpoint to the Templates module;