Allow module content to be a function.