Fixed depreciated imports to make it work with Plone 4.3