Refactor article/comment activity removal into methods.