Without default values readConfig returns undefined values causing the effect not to work. This needs to be documented.