Simpify visible attribute handling