public function getDefinitions($grouping = null)
    {
        if (is_null($grouping)) {
            return $this->notifications;
        } elseif (isset($this->notifications[$grouping])) {
            return $this->notifications[$grouping];
        } else {
            return [];
        }
    }