public function getElements()
    {
        if (self::$elements === null) {
            self::$elements = $this->loadJson($this->resource('OptionalElements.json'))->elements;
        }

        return self::$elements;
    }