Make type errors warnings instead of fatal errors.

Files should note the lines that produce a warning to make it easier to ensure that the warnings are valid.