Alternative warn and die for modules