Rename method for calling a method on multiple objects
Updating `removeCloseEndTagsAtEndOfString` to be iterative rather then recursive