Remove ParIdx type and mother function