Attributes were always initialized with array default value (#1086)