Modifying the RenderManager class