Remove unnecessary parts arguments.