Define the module separately and use a scoped reference