Added parts argument to component check