Added ability to remove last entry.