Implement widget data refinement function.