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