Tweaking for ViewRender code - removed requirement to pass in a controller context.