Update type checking error messages.