public function addEmbed(EmbeddedPropMetadata $embed)
    {
        $this->validateEmbed($embed);
        $this->embeds[$embed->getKey()] = $embed;
        ksort($this->embeds);
        return $this;
    }