Convert to new widget format