Changed implementation of KList, removed sentinel.