Implementation of get_multi, set_multi and delete_multi.