Move private method.
The method of RepositoryService was cleaned up.