Expose create_index.