Put a kludge for now which Fixes #3280. It should be improved later on to have proper handling and overloading of configuration functions