Make KliegObject enum work