expose setEntityTypeForResource and getEntityTypeNameForResource