Added assertions that wrapped pointers are non-null iff the wrapped pointer type is a plain old pointer.