Configuration fixes

Some fixes in the configuration module, mostly about alerts.

We can merge #19 and this pull req and then publish the tag 2.0.5.