protected function addTile(Tile $tile, $alias = null) {
        if ($this->configured) throw new IllegalStateException('Configuration is frozen');

        $name = $tile->getName();
        $this->tiles[$name] = $tile;

        if (isset($alias))
            $this->tiles[$alias] = $tile;
    }