Fix check for class from foreign plugin