Pass config into method call