Support loading config from module