Fix Plone 4 compatibility