Updated return type for CompanyLeadRepository::getEntitiesByLead