add ForEach, eToInstances functions.