Refine posts implementation.