Add function to render string.