Added RenderSafe metod for rendering template (accouning for schema)