Changed obj to config, so templates can access values without with.