public function registerAssets()
    {
        $data = $this->getData();

        // Read the assets manifest file if it exists
        $manifest = $this->loadManifest();

        if (isset($data['styles']))
        {
            foreach ($data['styles'] as $handle => $props)
            {
                $this->handleStyleAction('register', $handle, $props, $manifest);
            }
        }

        if (isset($data['scripts']))
        {
            foreach ($data['scripts'] as $handle => $props)
            {
                $this->handleScriptAction('register', $handle, $props, $manifest);
            }
        }
    }