public function addScripts(array $scripts, $opType = null) { foreach ($scripts as $document) { $this->addScript($document, $opType); } return $this; }