Created a render context class.