Support 'reference to undeclared general entity X