Use plone.api where possible

closes #344