Added wrapper for add_aray function.