Fixed #3 - Decorate functions of globally-scoped modules.