rename forEach functions to each and add aliases for old names