Hardening/args by reference

### Description
Passing no objects on stack, only references and pointers.
Fixes issue #354 and #263