Don't assert class of result if it is nil.