Client should be in the component, not the entity.