Refactoring the use of the blackholing in CommentsComponent.php