Refactoring to extract settings_for_parameters into its own module