public function remove($type, $key, $remainingFields = array())
    {
        // Load
        $json = $this->load();

        // Remove
        $columns = $json[$type]["elements"][$key]["columns"];
        unset($json[$type]["elements"][$key]);
        if (is_array($columns)) {
            foreach ($columns as $field) {
                $json = $this->removeField($type, $field, $json, $remainingFields);
            }
        }
        $this->sortJson($json);
        $this->write($json);
    }