Allowed additional_settings to be called as a function if passed