Some refactorings for feed view.