updated for Plone 4.3 component.hooks