Module should export a function.