Added default attributes to match setDefault2DAttribute.