Assign collection to class - Resolved