Check whether the symbol is function before addressing it.

When the import WebInterface::Controller code calls to
UNIVERSAL::isa as to code ref, it exploits it.
UNIVERSAL::isa is GLOB, no CODE. When calling it as code, undefined
function is created, so all calls to it will result in call to undefined
function and won't rich the code in GLOB.