Pointer and object checks