Allow settings to be passed in optionally as kwargs. If not passed in, fall back on existing behavior which is to grab settings from the settings file. Remove unique constraint for ppref since the void operation returns a dupe.