public function search()
    {
        foreach ($this->getFeatureTypeDeclarations() as $id => $declaration) {
            if (empty($this->instances[$id])) {
                $this->instances[$id] = new FeatureType($this->container, $declaration);
            }
        }
        return $this->instances;
    }