Added endtype column to kifu to store result_type.