Add required *_prepare_linked_list functions