Optimized static elements to single strings.