Implement perfect forwarding and allow void returns from lua functions.