Add bulk api support