Don't check type on something that might be null.