Revert breaking walking over inputs and children, remove duplicating adding children.