Removing tail pointer to simplify the structure.