Added enumerateMembers function.