Adding batch creation functions.