My suggestion would be either this, or preferably to have a filter on this line so plugins and others can decide what to do with the link as it is processed. Right now the only available filter is wp_list_pages, so that is after the whole list is generated, which would make it quite hard (not impossible though) to add the class names.