Added attributes to collection example