public function push($key, $data) {
        $key = trim($key);
        if (!array_key_exists($key, $this->data) || !is_array($this->data[$key])) {
            $this->data[$key] = [];
        }
        array_push($this->data[$key], $data);
    }