Rewrote Razor component to remove dependency on RazorEngine.