Replace function call with set literal