public function bind($key, $item)
    {
        if (is_array($item)) {
            $this->classes[$key] = $item;
        }
        else {
            $this->registry->set($key, $item);
        }
    }