A decorator to populate __all__ and the module globals
