more consistent custom loader getConfig() method