Change signature of 'core.init', expect 'modules' to be in 'config'