Move warranty check to module