add basic attribute support for visible and sortable - possible fix for #40