Made isObjProp function private.