public void removeKey(String var) {
        Boolean changed = false;

        if(this.props.containsKey(var)) {
            this.props.remove(var);
            changed = true;
        }

        for (int i = 0; i < this.lines.size(); i++) {
            String line = this.lines.get(i);

            if (line.trim().length() == 0) {
                continue;
            }

            if (line.charAt(0) == '#') {
                continue;
            }

            if (line.contains("=")) {
                int delimPosition = line.indexOf('=');
                String key = line.substring(0, delimPosition).trim();

                if (key.equals(var)) {
                    this.lines.remove(i);
                    changed = true;
                }
            } else {
                continue;
            }
        }

        // Save on change
        if(changed)
            save();
    }