Added RenderOptions parameter.
Added sanitization option.