Small refactoring for ContentSourceDao class