Change to pass immutable sets.