Adding Debug#valid_parents scope.