public function addNamespace($namespace)
    {
        // Assume no operation
        $result = in_array($namespace, $this->getNamespaces());

        // Check if not already set
        if (false === $result) {

            // make array for iteration
            if (is_string($namespace)) {
                $namespace = [$namespace];
            }

            // iterate over namespaces and
            foreach ($namespace as $singleNamespace) {
                // store namespace
                $this->namespaces[] = $singleNamespace;
            }

            // Namespace add = namespace changed event
            $this->namespaceChanged();

            $result = true;
        }

        return $result;
    }