compatibility hacks + migrate portlets