Add required and move the module the resource lives in.