Added preliminary support for collection plugins.