Changed type of memberships to ArrayCollection