public function addChildren(array $children, $type = self::TYPE_DEFAULT) {
		foreach ($children as $name => $child) {
			if (is_string($name)) {
				$this->addChild($child, $name, $type);
				continue;
			}
			
			$this->addChild($child, null, $type);
		}
		
		return $this;
	}