Support for bulk create. Closes #1965.