Close GH-654: Export createItems call to enable plugins to hook into process. Fixes #648