don't pass resourceType to isPrimaryType() method