Minor fix to type handling