wrap all modules with selfex. functions.