Export createItems function for plugins to hook into