Access item attributes using #[], not by accessing #attributes