Adding support for double linked lists.