adds visibility property to attributes
Merge branch 'attribute-visibility'