public function getMetaData($key = null, $default = null)
    {
        if (null === $key) {
            return $this->metaData;
        }

        return $this->hasMetaData($key) ? $this->metaData[$key] : $default;
    }