protected function createEmbeddedPath()
    {
        $path = upload_path('embedded');

        if ( ! file_exists($path))
        {
            if ( ! mkdir($path, 0777, true))
            {
                throw new RuntimeException('Directory (' . $path . ') could not be created.');
            }
        }
    }