Added macro to MSInjection to create objects with arguments