Refactor microposts