populateFromArray now works for references to collections