Avoid type errors.