Support string as renderer.