Simple adaptation to support Plone's new Collection type too.