Handle NPEs occasioned by empty styles definition part.