Factor out urn in a variable when possible.