Still this should be in manager, not in repository.