Merge "Improve performance when getting styled string."