WASHINGTON — President-elect Donald Trump backed away from his promise to build a wall on the U.S.-Mexico border, saying some areas could instead be “fencing,” and added he would move to deport up to 3 million immigrants in the country illegally who have criminal records.

Trump, who made his pledge to force Mexico to pay for a border wall a centerpiece of his White House campaign, said “for certain areas” he would accept fencing instead of a brick-and-mortar wall, according to excerpts released Sunday of his interview with the CBS program “60 Minutes.”

“But certain areas, a wall is more appropriate. I’m very good at this, it’s called construction, there could be some fencing,” the New York real estate developer said.

Trump, who defeated Democrat Hillary Clinton in Tuesday’s election and replaces Democratic President Barack Obama on Jan. 20, also said once he takes office he would remove immigrants in the country illegally with criminal records.

“What we are going to do is get the people that are criminal and have criminal records, gang members, drug dealers, where a lot of these people, probably two million, it could be even three million, we are getting them out of our country or we are going to incarcerate. But we’re getting them out of our country,” he told “60 Minutes.”

During the campaign, Trump said he would deport the estimated 11 million immigrants in the country illegally, most of whom are Hispanic. In calling for the construction of a border wall, Trump said Mexico was sending criminals and rapists into the United States.

Trump and his senior advisers have signaled they could be flexible on some of his campaign promises once he takes office.

Republican House Speaker Paul Ryan, who will play a key role in getting Trump’s agenda through the Republican-led Congress, backed away from Trump’s promise during the campaign of a “deportation force” to round up and deport immigrants in the country illegally.

“We are not planning on erecting a deportation force. Donald Trump’s not planning on that,” Ryan told CNN’s “State of the Union” program. “I think we should put people’s minds at ease. That is not what our focus is. That is not what we’re focused on. We’re focused on securing the border.”

Kevin McCarthy, the No. 2 House Republican, said on “Fox News Sunday” the wall with Mexico could in parts be a “virtual” wall patrolled by drones.

“You have to put a wall, it could be all virtual with the UAV airplanes as well, but I think that is doable and one of the first things that needs to be done,” McCarthy said, referring to unmanned aerial vehicles, or drones.

‘A transactional guy’

On Sunday, senior adviser Kellyanne Conway indicated Trump would be results-oriented as he chooses his top aides, prepares his transition to the White House and gets ready to work with Congress.

“He’ll be surrounded by people who want to get things done. Because he’s a transactional guy. He’s a businessman,” Conway said on NBC’s “Meet the Press.”

Ryan said he agreed with Trump’s comments in a Wall Street Journal interview published Friday that he would keep elements of Obama’s signature health care law, known as Obamacare.

Repealing and replacing the 2010 Affordable Care Act was another centerpiece of Trump’s campaign. But he told the Wall Street Journal that after talking to Obama at the White House on Thursday he would consider retaining provisions letting parents keep adult children up to age 26 on their insurance policies and barring insurers from denying coverage to people with pre-existing medical conditions.

“We can fix what is broken in health care without breaking what is working in health care,” Ryan said. “Obamacare is failing. It must be replaced. We’re going to do that.”

Ryan also sidestepped questions about Trump’s plan to impose tariffs on imports from countries such as Mexico and China. Ryan said changes to tax law could accomplish the same goals “without any collateral damage to the economy.”

Trump, who pledged during the campaign to “drain the swamp” of corrupt insiders in Washington, D.C., is considering a wide range of experienced Washington hands for his administration, as well as some officials with extensive lobbying experience.

Conway said that experience was needed in Washington.

“Look, these are people who are talented and have done this before. You can’t just appoint novices, you have to have people who know what they’re doing,” Conway said on “Fox News Sunday.” But at the same time moving forward this is an administration that’s going to run very differently than typical Washington.”