Added array attribute handling