Remove unused num_types, num_nbytes vars from misc.