Export global table only if "module()" is defined.