Make style info helper null-resistant