Optimized messages creation a bit.