Plone 3 compatibility fix