The idiomatic way of retrieving function arguments in Perl (and in our code base) is

```perl
sub foo {
    my ($self, $confighash) = @_;
```

Please, adjust these methods. It reduces the surprise when you read the code.