public function register($namespace, $includePath)
    {
        if (array_key_exists($namespace, $this->includePaths)) {
            throw new \Exception("Error: Namespace '$namespace' is already registered!");
        }

        $this->includePaths[$namespace] = rtrim($includePath, DS) . DS;
    }