Avoid direct call to getConfig().