Add Plone 4.2 compatibility.
Add Plone 4.1 compatibility.