private function keyToName($key)
    {
        $parts = explode('_', $key);
        $name = '';

        foreach ($parts as $part) {
            $name .= ucfirst($part);
        }

        return $name;
    }