Make List::removeFirst() work