The warnings module doesn’t seem to actually be used. Is that a mistake?