public function add($object)
	{
		if (is_a($object, 'Closure')) {
			return $this->closures[] = $object;
		}

		$this->validateObject($object);

		$data = $object->getSitemapData();
		$this->addRaw($data);
	}