DRYer @config handling