Changed second argument of calls to part_ok() and type_ok() from 0 to 1,