public function remove($name)
    {
        if (!isset($this->data[$name])) {
            return null;
        }
        $value = $this->data[$name];
        unset($this->data[$name]);
        return $value;
    }