Added a way to get a map of children elements from a parent element.