Use plone.api where possible