Various fixes for handling vararg UDFs