define and require, with alias m() and autoinit functionality.