Adding extension for douly linked lists.