[There was a video here]

On Wednesday, President Obama criticized characterizations of Donald Trump as a populist, saying that a person who has “worked against economic opportunities for workers” does not suddenly become one “because they say something controversial in order to win votes.”

“That’s not a measure of populism,” Obama told reporters at a news conference in Ottowa, Canada, CBS News reports. “That’s nativism, or xenophobia, or worse. Or it’s just cynicism.”

Obama did not directly name the presumptive Republican nominee, but made the comments after denouncing “demagogues” who exploit “anti-immigration sentiment” when asked a question about Trump’s rhetoric.

“Let’s just be clear that somebody who labels ‘us versus them,’ or engages in rhetoric about how we’re going to look after ourselves and take it to the other guy, that’s not the definition of populism” said Obama.

“Sorry,” added Obama. “This is one of the prerogatives when you’re at the end of your term. You go on these occasional rants.”