Support setting user-defined difficulty through the API