Add -unitAtIndex: in JSPipeLine.