Added support for multiple data argments with emit

Updated reference in args