Add type argument for config loading