Eliminates needing a separate function to recurse into child items