Restore names(module, all) function used by subtypes