upgrades ExprClassOf to also return prefix
wip