Add upgrade step to remove management portlet and cook resources
Use plone.api whenever possible